from django.test import TestCase

# Create your tests here.
<<<<<<< HEAD

#造数据
from activity.models import Activity
from datetime import datetime
Activity.objects.all().update(start_time = datetime(2019,3,15) , end_time = datetime(2019,3,16), deadline = datetime(2019,3,12))


a = Activity.objects.get(id=1)

for i in range(2,101):
    a.id = None
    a.name =  "APMCon2017中国应用性能管理大会光谷分会场第" +str(i) + "场次"
    a.save()

=======
>>>>>>> c0e411a615cc06dcd36e049646153479c83a5e37
